#include "e2d/imgui/render/Editor.h"
#include "e2d/imgui/Editor.h"

using Editor = e2d::BasicEditor;

template<>
bool Editor::Edit<e2d::LightEnv>(const std::string& l, e2d::LightEnv& e)
{

    bool flag{ 0 };
    flag |= EditInst<e2d::IrradianceTextureMap>("m_IrradianceMap", e.m_IrradianceMap);
    flag |= EditInst<e2d::PrefilterTextureMap >("m_PrefilterMap", e.m_PrefilterMap);
    flag |= EditInst<e2d::BrdfTextureMap>("m_brdfLUTMap", e.m_brdfLUTMap);

    return flag;

}